package org.jeecg.modules.basedata.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.entity.basedata.BaseFeeRule;
import org.jeecg.modules.basedata.mapper.BaseFeeRuleMapper;
import org.jeecg.modules.basedata.service.IBaseFeeRuleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 住户模块--收费标准
 * @Author: jeecg-boot
 * @Date:   2021-07-12
 * @Version: V1.0
 */
@Service
public class BaseFeeRuleServiceImpl extends ServiceImpl<BaseFeeRuleMapper, BaseFeeRule> implements IBaseFeeRuleService {
   @Autowired
   private BaseFeeRuleMapper baseFeeRuleMapper;

   @Override
    public List<BaseFeeRule> findPage(Page<BaseFeeRule> page, BaseFeeRule baseFeeRule){
        return baseFeeRuleMapper.findPage(page, baseFeeRule);
    }

    @Override
    public List<BaseFeeRule> queryByProjectId(String projectId){
       return baseFeeRuleMapper.queryByProjectId(projectId);
    }
}
